<template>
	<view class="content">
		<view class="function">
			<view class="button" @click="openLivePusher">
				<text class="label">直播推流器</text>
			</view>
			<view class="button" @click="openLivePlayer">
				<text class="label">直播播放器</text>
			</view>
			<view class="button" @click="openVodPlayer">
				<text class="label">点播播放器</text>
			</view>
		</view>
		<view class="qrcode">
			<image class="qrcode-image" src="/static/qrcode.png" mode="aspectFill"></image>
			<view style="height: 15rpx;"></view>
			<text class="contact">扫码添加, 微信号: ruanyunkeji006</text>
		</view>
		<view class="company-group">
			<text class="company">厦门软云网络科技有限公司</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			openLivePusher() {
				uni.navigateTo({
					url: '../livePusher/livePusher'
				});
			},
			openLivePlayer() {
				uni.navigateTo({
					url: '../livePlayer/livePlayer'
				});
			},
			openVodPlayer() {
				uni.navigateTo({
					url: '../vodPlayer/vodPlayer'
				});
			}
		}
	}
</script>

<style>
	page {
		background-color: #F7F8FA;
	}
	
	.function {
		margin: 10rpx 20rpx 0;
	}
	
	.button {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		justify-content: center;
		align-items: center;
		flex-direction: row;
		margin-top: 14rpx;
		height: 74rpx;
		background-color: #fff;
		border: 1rpx solid #EBEBEB;
		border-radius: 12rpx;
	}
	
	.button:active {
		background-color: #F1F1F1;
		opacity: 0.5;
	}
	
	.qrcode {
		position: fixed;
		bottom: 90rpx;
		width: 100%;
		/* #ifndef APP-NVUE */
		display: flex;
		box-sizing: border-box;
		/* #endif */
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 40rpx;
		color: #666666;
	}
	
	.qrcode-image {
		display: block;
		width: 350rpx;;
		height: 350rpx;
	}
	
	.contact {
		margin-top: 10rpx;
		font-size: 32rpx;
	}
	
	.company-group {
		position: fixed;
		bottom: 35rpx;
		width: 100%;
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		justify-content: center;
		align-items: center;
		flex-direction: row;
		background-color: transparent;
	}
	
	.company {
		color: rgb(153, 150, 150);
		font-size: 28rpx;
	}
</style>
